#ifndef __HEAD_H__
#define __HEAD_H__

#define IP "192.168.0.102"

typedef struct user_info {
	int id;
	int age;
	int year;
	char sex;
	int salary;
	char department[20];
	char name[20];
	char passwd[20];
	int managedr;
}UserInfo;

typedef struct history_info {
	char action[40];
	char date[40];
	char name[20];
}HistoryInfo;

typedef struct msg{
	int cmd;
	char buf[40];
	UserInfo user_info;
	HistoryInfo history_info;
}Msg;

#endif
